const SentryCliPlugin = require('@sentry/webpack-plugin');
module.exports = function override(config, env) {
  config.devtool = 'source-map';
  config.plugins.push(
    new SentryCliPlugin({
      release: '0.0.1',
      authToken: '82e78037254147d08a6fb2b2ace12d7f8530ced38e7547adac8e5a186c2de839',
      url: 'http://localhost:9000',
      org: 'sentry',
      project: 'cra-test-lac',
      urlPrefix: '~/',
      include: './build',
      ignore: ['node_modules'],
    })
  );
  return config;
}